package javabase.schoolwork.day5_31.banking.domain;

/**
 * @author fance
 * @date 2018/5/31 21:51
 */
public class OverdraftException extends RuntimeException{
    private double deficit;

    public double getDeficit() {
        return deficit;
    }

    public OverdraftException(String msg,double deficit) {
        super(msg);
        this.deficit = deficit;
    }
}
